﻿using WebApi.Commons.Helpers;
using WebApi.Models.Common;
using WebApi.Models.Views.Account;

namespace WebApi.Services.Interface
{
    /// <summary>
    /// 测试业务
    /// </summary>
    public interface IDemoService : IScopedService
    {
        /// <summary>
        /// 生成实体
        /// 格式可以根据自己的表自定义
        /// </summary>
        void CreateModel(string tableName);

        /// <summary>
        /// 获取账号列表
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        PageResultModel<UserInfoModel> GetAccountList(GetAccountListRequest request);

        /// <summary>
        /// 导出账号列表
        /// </summary>
        /// <returns></returns>
        ResultInfoModel ExportAccountList();
    }
}
